[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api029.nas"]

		GLOBAL	_api_filename

[SECTION .text]

_api_filename:		; int api_filename(char *ext, char *buf, int rettype);
		PUSH	EBX
		MOV		EDX,29
		MOV		EAX,[ESP+16]		; rettype
		MOV		ECX,[ESP+12]		; buf
		MOV		EBX,[ESP+8]			; ext
		INT		0x40
		POP		EBX
		RET
